<?php
/**
 * DBTester
 *
 *
 *
 *
 */
class DBTester extends CI_Controller {
	function __construct() {
		parent::__construct();
		$this->load->database();
	}
	
	public function TestInsertID() {
		$data = array(
			'username' => 'DBTester',
			'password' => md5('u17'),
			'email'    => 'dbtest@dbtest.com',
			'quote'    => 'quote');
		$this->db->insert('users', $data);
		echo $this->db->insert_id();
	}
}
?>
